package com.cevent.yameng.web.mall.member.feign;

import com.cevent.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Cevent on 2020/9/22.
 * Nacos注册中心，OpenFeign调用远程服务Coupon
 */
@FeignClient("yameng-mall-coupon")
public interface CouponFeignService {
    //这里的mapping必须为对应controller全路径
    @RequestMapping("/coupon/coupon/coupon/member/list")
    public R memberCoupons();
}
